<template>
  <div class="home-view">
    <div class="welcome">
      <el-empty description="欢迎使用 BNote">
        <template #description>
          <div class="welcome-text">
            <h2>欢迎使用 BNote</h2>
            <p>一个简单而强大的笔记应用</p>
          </div>
        </template>
        <el-button type="primary">开始写作</el-button>
      </el-empty>
    </div>
  </div>
</template>

<script setup lang="ts">

</script>

<style lang="scss" scoped>
.home-view {
  flex: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--el-bg-color);

  .welcome {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;

    .welcome-text {
      text-align: center;
      margin-bottom: 20px;

      h2 {
        font-size: 24px;
        margin: 0 0 8px;
        color: var(--el-text-color-primary);
      }

      p {
        font-size: 16px;
        margin: 0;
        color: var(--el-text-color-secondary);
      }
    }
  }
}
</style>
